﻿//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;

//namespace DataAccess.Models
//{

//    public class TbkItem
//    {
//        [XYD.Framework.Key]
//        public int auctionId { get; set; }
//        public string tkSpecialCampaignIdRateMap { get; set; }
//        [XYD.Framework.Write(false)]
//        public Dictionary<string, string> tkSpecialCampaignIdRateMapDic
//        {
//            get
//            {
//                Dictionary<string, string> dic = null;

//                if (!string.IsNullOrEmpty(this.tkSpecialCampaignIdRateMap))
//                {
//                    try
//                    {
//                        dic = XYD.Common.JsonHelper.DeserializeJson<Dictionary<string, string>>(this.tkSpecialCampaignIdRateMap);
//                    }
//                    catch (Exception)
//                    {
//                    }
//                }
//                if (dic == null)
//                {
//                    dic = new Dictionary<string, string>();
//                }
//                return dic;
//            }
//        }
//        public int eventCreatorId { get; set; }
//        public int rootCatId { get; set; }
//        public int leafCatId { get; set; }
//        public int rootCatScore { get; set; }
//        public int sellerId { get; set; }
//        public int userType { get; set; }
//        public string shopTitle { get; set; }
//        public string pictUrl { get; set; }
//        public string title { get; set; }
//        public int dayLeft { get; set; }
//        public int biz30day { get; set; }
//        public float tkRate { get; set; }
//        public string nick { get; set; }
//        public int includeDxjh { get; set; }
//        public decimal reservePrice { get; set; }
//        public decimal tkCommFee { get; set; }
//        public decimal totalFee { get; set; }
//        public int totalNum { get; set; }

//        public decimal zkPrice { get; set; }
//        public string auctionTag { get; set; }
//        public string auctionUrl { get; set; }
//        public float rlRate { get; set; }
//        public string sameItemPid { get; set; }
//        public int hasRecommended { get; set; }
//        public int hasSame { get; set; }
//        public int couponTotalCount { get; set; }
//        public int couponLeftCount { get; set; }
//        public string couponLink { get; set; }

//        public string couponLinkTaoToken { get; set; }
//        public int couponAmount { get; set; }
//        public string couponInfo { get; set; }
//        public decimal couponStartFee { get; set; }
//        public string couponEffectiveStartTime { get; set; }
//        public string couponEffectiveEndTime { get; set; }



//        //返回为null的字段
//        //"debugInfo":null,
//        //"tk3rdRate":null,
//        //"tkMktStatus":null,
//        //"couponActivityId":null,
//        //"couponShortLink":null,
//        //"eventRate":null,
//        //"hasUmpBonus":null,
//        //"isBizActivity":null,
//        //"umpBonus":null,
//        //"rootCategoryName":null,
//        //"couponOriLink":null,
//        //"userTypeName":null


//        //自定义字段
//        /// <summary>
//        /// 状态，1正常，0停用
//        /// </summary>
//        public int state { get; set; }
//        /// <summary>
//        /// 抓取时间
//        /// </summary>
//        public DateTime grapDate { get; set; }
//        /// <summary>
//        /// 最后一次同步更新时间
//        /// </summary>
//        public DateTime synchroDate { get; set; }
//    }
//    //单条数据json
//    //{"tkSpecialCampaignIdRateMap":{"35601895":"5.50"},"eventCreatorId":0,"rootCatId":0,"leafCatId":50010158,"debugInfo":null,"rootCatScore":0,"sellerId":854895338,"userType":1,"shopTitle":"杰森迪亚旗舰店","pictUrl":"http://img02.taobaocdn.com/bao/uploaded/i2/TB1VX36PpXXXXbPXVXXXXXXXXXX_!!0-item_pic.jpg","auctionId":536821241554,"title":"外套男士春季2017新款夹克<span class=H>男装</span>春秋修身棒球服韩版潮春装青年衣服","dayLeft":-17277,"tk3rdRate":null,"tkMktStatus":null,"biz30day":71062,"tkRate":5.50,"nick":"杰森迪亚旗舰店","includeDxjh":1,"reservePrice":298.00,"tkCommFee":3.29,"totalFee":6314.61,"totalNum":2086,"zkPrice":59.90,"auctionTag":"385 587 907 1163 1478 1483 2049 2059 2123 3851 3974 4166 4491 4550 4555 6603 11083 11339 11531 12491 13707 13771 15563 25282 28353 28802 30337 30593 30977 37569 40897 51585 51905 59842 60418 62082 67521 80386 82306 101762 107842 112386 116546 119234 119298 150146 174082 100017185 205017185","auctionUrl":"http://item.taobao.com/item.htm?id=536821241554","rlRate":79.89,"sameItemPid":"-1006408246","hasRecommended":0,"hasSame":1,"couponActivityId":null,"couponTotalCount":0,"couponLeftCount":0,"couponLink":"","couponLinkTaoToken":"","couponAmount":0,"couponShortLink":null,"couponInfo":"无","couponStartFee":0,"couponEffectiveStartTime":"","couponEffectiveEndTime":"","eventRate":null,"hasUmpBonus":null,"isBizActivity":null,"umpBonus":null,"rootCategoryName":null,"couponOriLink":null,"userTypeName":null}
//}
